/**
 * 
 */
package jp.co.withone.osgi.gadget.bundlecontroller.viewer.impl;

/**
 * @author takada
 *
 */
public enum BundleActionCommand {
    INSTALL
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_install_icon.png"
            ,"balloon.message.install","popup.message.install"),
    START
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_start_icon.png"
                ,"balloon.message.start","popup.message.start"),
    STOP
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_stop_icon.png"
                ,"balloon.message.stop","popup.message.stop"),
    UNINSTALL
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_uninstall_icon.png"
                ,"balloon.message.uninstall","popup.message.uninstall"),
    UPDATE
// TODO add Update Command
        (null
                ,"balloon.message.update","popup.message.update"),
    REFRESH
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_refresh_icon.png"
                ,"balloon.message.refresh","popup.message.refresh"),
    SETTING
        ("/jp/co/withone/osgi/gadget/bundlecontroller/resource/bundleControl_setting_icon.png"
            ,null,"popup.message.setting");

    private String iconLocation = null;
    
    private String balloonLabel = null;
    
    private String popupLabel = null;
    
    private BundleActionCommand(String iconLocation,String label,String popupLabel){
        this.iconLocation = iconLocation;
        this.balloonLabel = label;
        this.popupLabel = popupLabel;
    }
    
    public String getBalloonLabel(){
        return balloonLabel;
    }
    
    public String getIconLocation(){
        return iconLocation;
    }
    
    public String getPopupLabel(){
        return popupLabel;
    }
}
